home *** CD-ROM | disk | FTP | other *** search
- '-----------------------------------------------------------------------
- ' IPS MDB Patch Tool, Version 1.0
- ' ⌐Copyright 1995 (Unpublished) Integrated Planning Systems, inc.
- ' All Rights Reserved.
- '
- ' Integrated Planning Systems Proprietary Rights are included in this
- ' Software, in the data or documentation relating thereto, and in the
- ' information disclosed therein. Neither this software, regardless of
- ' the form in which it exists, nor such data or information may be
- ' used by or disclosed to others for any purpose except as specifically
- ' authorized in writing by Integrated Planning Systems, inc.
- '
- ' This software was developed exclusively at private expense
- ' as defined in DFARS 252.227-7013(a)(12).
- '
- ' This software was developed under IPS General and Administrative
- ' Account A1035LAS.
- '-----------------------------------------------------------------------
- Option Explicit
-
- Sub Main ()
- Dim endTime As Variant
- 'Compute time to close start-up form
- endTime = Now + TimeValue("00:00:10")
- 'Show start-up form with Close button disabled
- AboutBox.CloseButton.Visible = False
- AboutBox.Show
- 'Make start-up form a top-most window and allow it to paint itself
- Call SetWindowPos(AboutBox.hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE Or SWP_NOSIZE)
- AboutBox.Refresh
-
- 'Show main form and disable to prevent events
- MainForm.Enabled = False
-
- 'Wait until start-up form's time is up
- Do While Now < endTime
- DoEvents
- Loop
-
- 'Unload start-up form
- Unload AboutBox
-
- 'Enable main form
- MainForm.Enabled = True
- MainForm.Show
- End Sub
-
-